﻿je_boxer_rebellion = {
    icon = "gfx/interface/icons/event_icons/event_military.dds"
    is_shown_when_inactive = {
        exists = c:MCH
        THIS = c:MCH
        
        country_has_primary_culture = cu:manchu
    }
    possible = {
	has_technology_researched = pan-nationalism
        has_technology_researched = political_agitation
        any_state = {
        	state_region = { is_homeland = cu:han }
	  owner = ROOT 
        }
    }
    immediate = {
        trigger_event = { id = boxer_rebellion_events.1 } # The Yihetuan Movement
    }
    complete = {
	OR = {
        NOT = {
country_has_primary_culture = cu:manchu
        }
		  NOT = {      any_state = {
        	state_region = { is_homeland = cu:han }
	  owner = ROOT 
        }
		}
		}
    }
    on_complete = {
        trigger_event = { id = boxer_rebellion_events.2 } # The Mandate of Heaven
    }
    timeout = 1825
    on_timeout = {
        trigger_event = { id = boxer_rebellion_events.3 } # The Qing and the Han
    }
    weight = 1000
}